
package com.yungu.swift.system.marketing.dao;


import com.yungu.swift.base.mapper.IMapper;
import com.yungu.swift.system.marketing.model.dto.MarketingGiftWillDrawDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * MarketingGiftDrawlogMapper数据库操作接口类
 **/

public interface MarketingGiftWillDrawMapper extends IMapper<MarketingGiftWillDrawDto> {
    /**
     * 批量添加
     *
     * @param list List<MarketingGiftWillDrawDto>
     * @return int
     */
    int addBatch(List<MarketingGiftWillDrawDto> list);

    /**
     * updateStatusByGetMode
     *
     * @param status  Integer
     * @param getMode Integer
     * @return int
     */
    int updateStatusByGetMode(@Param("status") Integer status, @Param("getMode") Integer getMode);
}